// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:51

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   i3.java

package com.zelix;

import java.awt.*;
import java.awt.event.*;
import java.util.Enumeration;
import java.util.EventObject;
import javax.swing.*;

// Referenced classes of package com.zelix:
//            a3, zo, to, yw, 
//            k4, zz, j0, tb

public class i3 extends a3
        implements ActionListener, KeyListener {

    yw f;
    k4 g;
    ButtonGroup h;
    JRadioButton i;
    JRadioButton j;
    JRadioButton k;
    JButton l;
    JButton m;
    JButton n;
    static String o[];
    static String p[];
    static String q[];
    private static String z[];

    public i3(JFrame jframe, String s, yw yw1) {
        super(jframe, s);
        f = yw1;
        g();
    }

    public void actionPerformed(ActionEvent actionevent) {
        label0:
        {
            boolean flag = tb.b;
            Object obj = actionevent.getSource();
            if (obj == l) {
                j();
                if (!flag)
                    break label0;
            }
            if (obj == m) {
                f();
                if (!flag)
                    break label0;
            }
            if (obj == n)
                i();
        }
    }

    protected void f() {
        a();
        f.a();
    }

    protected final void i() {
        to.a(to.D);
    }

    public void keyPressed(KeyEvent keyevent) {
        label0:
        {
            boolean flag = tb.b;
            if (keyevent.getKeyCode() != 10)
                break label0;
            if (keyevent.getSource() == l) {
                j();
                if (!flag)
                    break label0;
            }
            if (keyevent.getSource() == m) {
                f();
                if (!flag)
                    break label0;
            }
            if (keyevent.getSource() == n)
                i();
        }
    }

    public void keyReleased(KeyEvent keyevent) {
    }

    public void keyTyped(KeyEvent keyevent) {
    }

    void j() {
        JRadioButton jradiobutton;
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        a();
        jradiobutton = null;
        enumeration = h.getElements();
        while (enumeration.hasMoreElements()) {
            JRadioButton jradiobutton1 = (JRadioButton) enumeration.nextElement();
            if (jradiobutton1.isSelected()) {
                jradiobutton = jradiobutton1;
                break;
            }
        }
        if (jradiobutton == i) {
            f.a("2");
        } else if (jradiobutton == j) {
            f.a("3");
        } else if (jradiobutton == k)
            f.a("4");
    }

    void a(JPanel jpanel) {
        j0 j0_1 = new j0(jpanel);
        jpanel.setLayout(j0_1);
        jpanel.add(i, z[7]);
        jpanel.add(j, z[9]);
        jpanel.add(k, z[8]);
        j0_1.a(q);
    }

    protected void a(Object obj, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6) {
        Container container = getContentPane();
        j0 j0_1 = new j0(container);
        container.setLayout(j0_1);
        l = new JButton(z[4]);
        l.setToolTipText(to.b(to.ob));
        m = new JButton(z[5]);
        m.setToolTipText(to.b(to.Z));
        n = new JButton(z[3]);
        n.setToolTipText(to.b(to.ab));
        l.addActionListener(this);
        m.addActionListener(this);
        n.addActionListener(this);
        l.addKeyListener(this);
        m.addKeyListener(this);
        n.addKeyListener(this);
        container.add(l, z[2]);
        container.add(m, z[1]);
        container.add(n, z[0]);
        g = new k4(true);
        container.add(g, z[6]);
        j0_1.a(o);
        k();
        setIconImage(zo.a(this));
        zz.a(this);
    }

    void k() {
        j0 j0_1 = new j0(g);
        g.setLayout(j0_1);
        JLabel jlabel = new JLabel(z[11]);
        g.add(jlabel, z[13]);
        h = new ButtonGroup();
        i = new JRadioButton(z[10], true);
        j = new JRadioButton(z[14], false);
        k = new JRadioButton(z[15], false);
        h.add(i);
        h.add(j);
        h.add(k);
        JPanel jpanel = new JPanel();
        a(jpanel);
        g.add(jpanel, z[12]);
        j0_1.a(p);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x69;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x56;
                    break;
                case 1:
                    key = 102;
                    break;
                case 2:
                    key = 81;
                    break;
                case 3:
                    key = 72;
                    break;
                default:
                    key = 105;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[] = new String[16];
        as[0] = z(z(">\003=8+\"\b"));
        as[1] = z(z("5\007?+\f:$%&"));
        as[2] = z(z("9\r\023<\007"));
        as[3] = z(z("\036\003=8"));
        as[4] = z(z("\031-"));
        as[5] = z(z("\023\0368<"));
        as[6] = z(z("));\0078&98\n"));
        as[7] = z(z("5\n0;\032\002\037!-*>\r"));
        as[8] = z(z("));\003% \00622(8\f\025\016:"));
        as[9] = z(z("0\0174$\r\002\037!-*>\r"));
        as[10] = z(z("\025\n0;\032"));
        as[11] = z(z("\005\003=-\n\"F% \fv\022#!\004v\003)+\005#\0024h\0317\0240%\f\"\003#h\035/\0264r"));
        as[12] = z(z("5\016:\030\b8\003="));
        as[13] = z(z("\"\037!-%4\n"));
        as[14] = z(z("\020\0174$\r"));
        as[15] = z(z("\033\003% \0062"));
        z = as;
        String as1[] = new String[22];
        as1[0] = z(z("));\0078&98\n\006!\r\"\016l%\b?\b\001&\005x\0024.\b#\n%\037\0002\0229cXc"));
        as1[1] = z(z("!\0175<\001\031\000\023<\007%[3<\007\001\0175<\001|UzzY"));
        as1[2] = z(z(":\007('\034\"H<!\007\001\0175<\001k\01300A!\0175<\001\031\000\023<\007%Jq%\b?\b\001&\005\001\0175<\001\177"));
        as1[3] = z(z(":\007('\034\"H<!\007\036\0038/\001\"[`pY"));
        as1[4] = z(z("4\022?\037\0002\0229u\0047\036y'\002\024\022?f\r3\0000=\005\"18,\035>Jq+\b8\0054$+\"\b\177,\f0\007$$\035\001\0175<\001zF9-\005&$%&G2\0037)\034:\022\006!\r\"\016x"));
        as1[5] = z(z("4\022?\000\f?\0019<T;\007)`\006=$%&G2\0037)\034:\022\031-\0001\016%dI5\007?+\f:$%&G2\0037)\034:\022\031-\0001\016%dI>\003=8+\"\b\177,\f0\007$$\035\036\0038/\001\"O"));
        as1[6] = z(z("));\0078&98\n\177$\f0\022lx"));
        as1[7] = z(z("));\0078&98\n\177<\006&[a"));
        as1[8] = z(z("));\0078&98\n\177:\0001\016%u\n9\b%)\0008\003#f\033?\0019<"));
        as1[9] = z(z("));\0078&98\n\177*\006\"\022>%T5\t?<\b?\b4:G4\t%<\006;K3<\007\036\0038/\001\"K`x"));
        as1[10] = z(z("9\r\023<\007x\022>8T;\0078&98\n\177*\006\"\022>%Bc"));
        as1[11] = z(z("9\r\023<\007x\0054&\0353\024\tu\n9\b%)\0008\003#f\036?\002% CgP~yYf"));
        as1[12] = z(z("9\r\023<\007x\0218,\035>[3<\007\001\0175<\001"));
        as1[13] = z(z("9\r\023<\007x\0164!\016>\022l*\0358.4!\016>\022"));
        as1[14] = z(z("5\007?+\f:$%&G\"\t!u\006=$%&G\"\t!"));
        as1[15] = z(z("5\007?+\f:$%&G5\003?<\f$>l+\0068\0220!\0073\024\177?\0002\0229b\\fI`xY"));
        as1[16] = z(z("5\007?+\f:$%&G!\0175<\001k\004%&>?\002% "));
        as1[17] = z(z("5\007?+\f:$%&G>\0038/\001\"[3<\007\036\0038/\001\""));
        as1[18] = z(z(">\003=8+\"\b\177<\006&[>#+\"\b\177<\006&"));
        as1[19] = z(z(">\003=8+\"\b\177+\f8\0224:1k\005>&\0357\017?-\033x\0218,\035>Li|FgVa"));
        as1[20] = z(z(">\003=8+\"\b\177?\0002\0229u\013\"\b\006!\r\"\016"));
        as1[21] = z(z(">\003=8+\"\b\177 \f?\0019<T4\022?\000\f?\0019<"));
        o = as1;
        String as2[] = new String[4];
        as2[0] = z(z("\"\037!-%4\n\177+\f8\0224:1k\005>&\0357\017?-\033x\0218,\035>LdxFgVa"));
        as2[1] = z(z("\"\037!-%4\n\177+\f8\0224:0k\005>&\0357\017?-\033x\0164!\016>\022{yYyWax"));
        as2[2] = z(z("5\016:\030\b8\003=f\n3\b%-\033\016[2'\007\"\0078&\f$H&!\r\"\016{}YyWax"));
        as2[3] = z(z("5\016:\030\b8\003=f\n3\b%-\033\017[2'\007\"\0078&\f$H9-\0001\016%b\\fI`xY"));
        p = as2;
        String as3[] = new String[6];
        as3[0] = z(z("5\n0;\032\002\037!-*>\r\177<\006&[a"));
        as3[1] = z(z("5\n0;\032\002\037!-*>\r\177$\f0\022lx"));
        as3[2] = z(z("0\0174$\r\002\037!-*>\r\177<\006&[2$\b%\025\0051\0313%9#G4\t%<\006;Md"));
        as3[3] = z(z("0\0174$\r\002\037!-*>\r\177$\f0\022lx"));
        as3[4] = z(z("));\003% \00622(8\f\025\016:f\0359\026l.\0003\n5\034\020&\003\022 \002x\004><\0359\013z}"));
        as3[5] = z(z("));\003% \00622(8\f\025\016:f\0053\000%uY"));
        q = as3;
    }
}